/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.question3.violatingDIP.Impl;

/**
 *
 * @author Ziyaad
 */
public class Vehicle {
    
    Car car;
    
    public void setVehicle(Car c)
    {
        car = c;
    }
    
    public double car()
    {
        return car.consumesFuel();
    }
    
}
